package com.nt.train.service.impl;

import org.springframework.stereotype.Service;

/**
 * @author hlf
 * @version 1.0
 * @date 2022/8/5 16:05
 */
@Service
public class CricketGameService  extends Game{

    @Override
    void initialize() {
        System.out.println("Cricket Game Initialized! Start playing.");
    }

    @Override
    void startPlay() {
        System.out.println("Cricket Game Started. Enjoy the game!");
    }

    @Override
    void endPlay() {
        System.out.println("Cricket Game Finished!");
    }
}
